package org.dromara.basic.domain.bo;

import org.dromara.basic.domain.FaceImage;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

import java.util.List;

/**
 * 学生人脸信息业务对象 phy_basic_image
 *
 * @author chl
 * @date 2024-10-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = FaceImage.class, reverseConvertGenerate = false)
public class FaceImageBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 学号
     */
//    @NotBlank(message = "学号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String stuNum;

    /**
     * 图片地址
     */
//    @NotBlank(message = "图片地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String imageUrl;

    /**
     * 同步状态
     */
//    @NotBlank(message = "同步状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String synchronizeStatus;

    /**
     * 同步信息
     */
//    @NotBlank(message = "同步信息不能为空", groups = { AddGroup.class, EditGroup.class })
    private String synchronizeMsg;

    /**
     * 检测状态
     */
    private String checkStatus;
    /**
     * 检测信息
     */
    private String checkMsg;

    private String studentName;

    private Long classId;

    private String tenantId;

    private String deviceInfo;

    private List<String> deviceIps;

    private List<String> stuNums;

    private String deviceIp;

    private String executionType;

    private String url;


}
